package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDao {
    Boolean save(Customer customer);
    Boolean updateById(Customer customer);
    Boolean deleteById(@Param("customerId") String customerId);
    Integer count();
    List<Customer > list(@Param("page") Integer page, @Param("rows") Integer rows,
                         @Param("customerName") String customerName);
}
